﻿@model List<ComicBookApp.DataModels.Character>


<div class="jumbotron">
    <h3>Character Index <small><a href="/ComicBook/Index">+Add</a></small></h3>
</div>

<div class="row">
    @foreach (var character in @Model)
    {
        <div class="row" onclick="location.href='/Character/Detail/@character.Id'">
            <div class="col-sm-2">
                <img class="img-responsive" src="@character.ImageUrl" />
            </div>
            <div class="col-sm-5">
                <h4>@character.Name</h4>
            </div>

        </div>
    }

</div>

